class CreateMaestrias < ActiveRecord::Migration
  def self.up
    create_table :maestrias do |t|
      t.string :nombre, :limit => 100
      t.string :mencion, :limit => 100
      t.string :descripcion, :limit => 1000
      t.string :coordinacion, :limit => 1
      t.text :perfil
      t.string :grado , :limit => 100
      t.string :duracion, :limit => 100
      t.text :plan
      t.string :regimen, :limit => 100
      t.string :modalidad, :limit => 100
      t.string :horario, :limit => 100
      t.text :requisitos

      t.timestamps
    end
  end

  def self.down
    drop_table :maestrias
  end
end
